<extend name="Common@Layout:default" />
	<block name="css">
	<link rel="stylesheet" href="__PUBLIC__/<?php echo strtolower(MODULE_NAME)?>/css/frame.css" />
	</block>
	<block name="content">
		<style>
		body{overflow: hidden;}
		</style>
		<!--头部-->
		<div id="header">
			<div class="boxheader hd">
				<div class="tonav r">
					<a href="" target="_self">welcome：{:session('username')}</a>
					<a href="/kiscms/admin/Sign/loginOut.html" target="_self">退出</a>
				</div>
				<div class="logo_panel"></div>
			</div>
			<ul id="min-header">
				<li><a class="checked" href="{:U('/Customer/Card/cardlist')}" target ="boxcontent">流量卡管理</a></li>
				<li><a href="{:U('/Customer/Customer/index')}" target ="boxcontent">客户管理</a></li>
				<li><a href="javascript:void(0)" target ="boxcontent">流量卡分配</a></li>
				<li><a href="javascript:void(0)" target ="boxcontent">续费</a></li>
				<li><a href="javascript:void(0)" target ="boxcontent">短信管理</a></li>
				<li><a href="javascript:void(0)" target ="boxcontent">统计报表</a></li>
			</ul>
			<script type="text/javascript">
				$(function(){
					$("#min-header").on('click' , 'li' , function(){
						console.log($(this).parent('li').index());
						$("#min-header").find('a').removeClass('checked');
						$(this).find('a').addClass('checked');
					});
				})
			</script>
		</div>
		<!--主体-->
		<div class="boxman" id="boxman">
			<!--左侧菜单-->
			<div id="boxsidebar_panle">
				<p id="tree_hide"></p>
				<div style="position: absolute;width: 246px;left: 0px;">
					<div class="boxsidebar hd l" id="boxsidebar">
						<p id="silder_scroll"></p>
							<!--上边三条杠杠-->
							<div class="boxsidebar-banner" id="boxsidebar-banner">
					            <div class="search-txt-body">
					                <input type="text" class="form-control" placeholder="输入关键字搜索">
					            </div>
					            <span class="glyphicon glyphicon-search" id="btSearchHold" aria-hidden="true"></span>
					        </div>
							<!--下边菜单容器-->
							<div class="boxsidebartree aty" id="boxsidebartree">
								<ul id="sidebartree" class="ztree"></ul>
							</div>	
					</div>
				</div>	
			</div>
			
			<!--右侧内容-->
			<iframe frameborder="0" src="{:U('Card/cardlist')}" name="boxcontent" id="boxcontent" class="boxcontent hd"></iframe>
		</div>	
	</block>
	<block name="javascript">
		<script type="text/javascript" src="__PUBLIC__/<?php echo strtolower(MODULE_NAME)?>/javascript/frame.js"></script>
		<script type="text/javascript" src="__PUBLIC__/<?php echo strtolower(MODULE_NAME)?>/javascript/index.js"></script>
		<script type="text/javascript">
			var zNodes = {$zNodes};
			$(document).ready(function(){
				var zTree = $.fn.zTree.init($("#sidebartree"), setting, zNodes);
				var index = layer.load({offset:"45%"});
				setTimeout(function(){
				  layer.closeAll('loading');
				  $("#content_main").show();
				  init_wh();
				}, 1000);
			});
		</script>
	</block>
